﻿
@{
    Layout = null;
}

<script src="~/Scripts/MGJJS/Market/Thewinning.js"></script>
<div class="mtlr15 text-center" style="clear:both;">
    <div style=" padding-left:0px">
        <div id="Table">
            <div class="overflow">
                <table class="table table-hover table-bordered">
                    <thead>
                        <tr>
                            <th class="text-center">头像</th>
                            <th class="text-center">用户微信名</th>
                            <th class="text-center">领奖防伪码</th>
                            <th class="text-center">活动名称</th>
                            <th class="text-center">获得奖项</th>
                            <th class="text-center">金额获利</th>
                            <th class="text-center">领奖时间</th>
                            <th class="text-center">手机号码</th>
                        </tr>
                    </thead>
                    <tbody id="Thewinning" style="display:none;" binding="{'pageId':'ShoppingPager','pageCallback':'$.MGJ.Thewinning.Ajax_Thewinning','emptyHtml':ColspanNub}">
                        <tr>
                            <td><img binding="{'src':'HeadImgUrl'}" style="max-width:30px;" /></td>
                            <td binding="{'text':'Nickname'}"></td>
                            <td binding="{'text':'Code'}"></td>
                            <td binding="{'text':'Title'}"></td>
                            <td binding="{'text':'Name'}"></td>
                            <td binding="{'text':'Denomination'}"></td>
                            <td binding="{'text':'Time','textHandle':'datetime'}" data-toggle="tooltip"></td>
                            <td binding="{'text':'Phone'}" data-toggle="tooltip"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="ShoppingPager"></div>
        </div>
    </div>
</div>

<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.OMID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';
    $(function () {
        $.MGJ.Thewinning.Ajax_Thewinning(1, "");
    })
</script>